var chart;
$(document).ready(function() {
	chart = new Highcharts.Chart({
		chart: {
			renderTo: 'container',
			plotBackgroundColor: null,
			plotBorderWidth: null,
			plotShadow: false
		},
		title: {
			text: 'Status Global dos Projetos - 2012'
		},
		tooltip: {
			formatter: function() {
				return '<b>'+ this.point.name +'</b>: '+ this.percentage +' %';
			}
		},
		plotOptions: {
			pie: {
				allowPointSelect: true,
				cursor: 'pointer',
				dataLabels: {
					enabled: true
				},
				showInLegend: true
			}
		},
		series: [{
			type: 'pie',
			name: 'Browser share',
			data: [
				['Iniciado',   45.0],
				['Parado',       26.8],
				/*{
					name: 'Chrome',    
					y: 12.8,
					sliced: true,
					selected: true
				},*/
				
				['Reprogramado',    8.5],
				['Não Iniciado',     6.2],
				['Concluído',   0.7]
			]
		}]
	});
});